home *** CD-ROM | disk | FTP | other *** search
/ Champak 61 / Volume 61 - JOGO DISK .iso / Games / jungle_jiggy.swf / scripts / DefineSprite_365 / frame_1 / DoAction.as
Text File  |  2008-03-10  |  462b  |  16 lines

  1. function eat(theArrow)
  2. {
  3.    if(theArrow._x != undefined)
  4.    {
  5.       trace("G: " + theArrow._x + " , idArrow: " + tmpArrow.idArrow);
  6.       trace("G: " + theArrow + " , idArrow: " + tmpArrow.idArrow);
  7.       _root.NumberWastedArrows = _root.NumberWastedArrows + 1;
  8.       _root.score -= 5;
  9.       _root.NumberGoodArrows = _root.NumberGoodArrows - 1;
  10.       _root.currentPerfect = 0;
  11.       _root.comboLevel = 1;
  12.       this.gotoAndPlay(6);
  13.    }
  14. }
  15. stop();
  16.